package com.tadpole.music.bean.me;

import java.util.List;

/**
 * Created By 孙岩
 * on 2020/12/27
 */
public class MoNiSearchBean {

    /**
     * code : 200
     * data : {"month_class_static":[{"class_id":1,"name":"节奏识别","rate":"0","err_no":0},{"class_id":2,"name":"音高识别","rate":"0","err_no":0},{"class_id":3,"name":"符号识别","rate":"0","err_no":0},{"class_id":4,"name":"模进填空","rate":"0","err_no":0},{"class_id":5,"name":"音程识别","rate":"0","err_no":0},{"class_id":6,"name":"节奏听辨","rate":"0","err_no":0},{"class_id":7,"name":"音高听辨","rate":"0","err_no":0},{"class_id":8,"name":"符号听辨","rate":"0","err_no":0},{"class_id":9,"name":"旋律听辨","rate":"0","err_no":0},{"class_id":10,"name":"音程听辨","rate":"0","err_no":0},{"class_id":11,"name":"看图辨别乐器","rate":"0","err_no":0},{"class_id":12,"name":"听辨乐器","rate":"0","err_no":0},{"class_id":13,"name":"听辨歌唱声部和演唱形式","rate":"0","err_no":0},{"class_id":14,"name":"听辨中外民歌","rate":"0","err_no":0},{"class_id":15,"name":"模唱","rate":"0","err_no":0},{"class_id":16,"name":"视唱","rate":"0","err_no":0},{"class_id":70,"name":"节奏操作","rate":"0","err_no":0}],"month_data":{"rate":"0","total_err_no":0,"total_questions":0,"total_time":0},"month_data_static":{"days":[17],"month":"2020-11"},"rank_id":1}
     * msg : ok
     */

    private int code;
    private DataBean data;
    private String msg;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public static class DataBean {
        /**
         * month_class_static : [{"class_id":1,"name":"节奏识别","rate":"0","err_no":0},{"class_id":2,"name":"音高识别","rate":"0","err_no":0},{"class_id":3,"name":"符号识别","rate":"0","err_no":0},{"class_id":4,"name":"模进填空","rate":"0","err_no":0},{"class_id":5,"name":"音程识别","rate":"0","err_no":0},{"class_id":6,"name":"节奏听辨","rate":"0","err_no":0},{"class_id":7,"name":"音高听辨","rate":"0","err_no":0},{"class_id":8,"name":"符号听辨","rate":"0","err_no":0},{"class_id":9,"name":"旋律听辨","rate":"0","err_no":0},{"class_id":10,"name":"音程听辨","rate":"0","err_no":0},{"class_id":11,"name":"看图辨别乐器","rate":"0","err_no":0},{"class_id":12,"name":"听辨乐器","rate":"0","err_no":0},{"class_id":13,"name":"听辨歌唱声部和演唱形式","rate":"0","err_no":0},{"class_id":14,"name":"听辨中外民歌","rate":"0","err_no":0},{"class_id":15,"name":"模唱","rate":"0","err_no":0},{"class_id":16,"name":"视唱","rate":"0","err_no":0},{"class_id":70,"name":"节奏操作","rate":"0","err_no":0}]
         * month_data : {"rate":"0","total_err_no":0,"total_questions":0,"total_time":0}
         * month_data_static : {"days":[17],"month":"2020-11"}
         * rank_id : 1
         */

        private MonthDataBean month_data;
        private MonthDataStaticBean month_data_static;
        private int rank_id;
        private List<MonthClassStaticBean> month_class_static;

        public DataBean(MonthDataBean month_data, MonthDataStaticBean month_data_static, int rank_id, List<MonthClassStaticBean> month_class_static) {
            this.month_data = month_data;
            this.month_data_static = month_data_static;
            this.rank_id = rank_id;
            this.month_class_static = month_class_static;
        }

        public MonthDataBean getMonth_data() {
            return month_data;
        }

        public void setMonth_data(MonthDataBean month_data) {
            this.month_data = month_data;
        }

        public MonthDataStaticBean getMonth_data_static() {
            return month_data_static;
        }

        public void setMonth_data_static(MonthDataStaticBean month_data_static) {
            this.month_data_static = month_data_static;
        }

        public int getRank_id() {
            return rank_id;
        }

        public void setRank_id(int rank_id) {
            this.rank_id = rank_id;
        }

        public List<MonthClassStaticBean> getMonth_class_static() {
            return month_class_static;
        }

        public void setMonth_class_static(List<MonthClassStaticBean> month_class_static) {
            this.month_class_static = month_class_static;
        }

        public static class MonthDataBean {
            /**
             * rate : 0
             * total_err_no : 0
             * total_questions : 0
             * total_time : 0
             */

            private String rate;
            private int total_err_no;
            private int total_questions;
            private int total_time;

            public MonthDataBean(String rate, int total_err_no, int total_questions, int total_time) {
                this.rate = rate;
                this.total_err_no = total_err_no;
                this.total_questions = total_questions;
                this.total_time = total_time;
            }

            public String getRate() {
                return rate;
            }

            public void setRate(String rate) {
                this.rate = rate;
            }

            public int getTotal_err_no() {
                return total_err_no;
            }

            public void setTotal_err_no(int total_err_no) {
                this.total_err_no = total_err_no;
            }

            public int getTotal_questions() {
                return total_questions;
            }

            public void setTotal_questions(int total_questions) {
                this.total_questions = total_questions;
            }

            public int getTotal_time() {
                return total_time;
            }

            public void setTotal_time(int total_time) {
                this.total_time = total_time;
            }
        }

        public static class MonthDataStaticBean {
            /**
             * days : [17]
             * month : 2020-11
             */

            private String month;
            private List<Integer> days;

            public MonthDataStaticBean(String month, List<Integer> days) {
                this.month = month;
                this.days = days;
            }

            public String getMonth() {
                return month;
            }

            public void setMonth(String month) {
                this.month = month;
            }

            public List<Integer> getDays() {
                return days;
            }

            public void setDays(List<Integer> days) {
                this.days = days;
            }
        }

        public static class MonthClassStaticBean {
            /**
             * class_id : 1
             * name : 节奏识别
             * rate : 0
             * err_no : 0
             */

            private int class_id;
            private String name;
            private String rate;
            private int err_no;

            public MonthClassStaticBean(int class_id, String name, String rate, int err_no) {
                this.class_id = class_id;
                this.name = name;
                this.rate = rate;
                this.err_no = err_no;
            }

            public int getClass_id() {
                return class_id;
            }

            public void setClass_id(int class_id) {
                this.class_id = class_id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getRate() {
                return rate;
            }

            public void setRate(String rate) {
                this.rate = rate;
            }

            public int getErr_no() {
                return err_no;
            }

            public void setErr_no(int err_no) {
                this.err_no = err_no;
            }
        }
    }
}
